







	<div class="main_body">
    	<?php echo $this->element('main_menu')?>
			
		<div id="main_body_content">
		
		
			<div class="customers form">
			<?php echo $this->Form->create('Customer');?>
				<fieldset>
			 		<legend><?php __('Edit Customer'); ?></legend>
				<?php
					echo $this->Form->hidden('id');
					echo $this->Form->hidden('user_id');
					echo $this->Form->input('name');
					echo $this->Form->input('surname');
		 			echo $this->Form->input('company');
		 			echo $this->Form->input('bank_account');
		 			echo $this->Form->input('numer_id',array('label'=>__d("store","Numer NIP",true), 'type'=>'text'));					
					echo $this->Form->input('address1');
					echo $this->Form->input('address2');
					echo $this->Form->input('address3');
					echo $this->Form->input('address4');
					echo $this->Form->input('phone1');
					echo $this->Form->input('phone2');
					echo $this->Form->input('phone3');
					echo $this->Form->input('phone4');
					echo $this->Form->input('note');
				?>
				</fieldset>
			<?php echo $this->Form->end(__('Submit', true));?>
			</div>

			<div class="clr"></div>	
		</div>	
			
		<?php echo $this->element('languages')?>	
		<div class="clr"></div>
	
	
	</div>	
	<div class="clr"></div>	
	<div class="main_action">
		<div class="main_action_content">
		

			<div class="actions">
				<h3><?php __('Actions'); ?></h3>
				<ul>
			
					<li><?php echo $this->Html->link($html->image(HOST.'/actions_customer_delete.png'), array('action' => 'delete', $this->Form->value('Customer.id')), array('escape'=>false,'title'=>__('Delete', true)), sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Customer.name'))); ?><div class="clr"></div>	<?php echo __("Delete",true)?></li>
					<li><?php echo $this->Html->link($html->image(HOST.'/actions_customers.png'), array('action' => 'index'),array('escape'=>false,'title'=>__("List Customers",true)));?><div class="clr"></div>	<?php echo __("List Customers",true)?></li>
					<li><?php echo $this->Html->link($html->image(HOST.'/actions_orders_list.png'), array('controller' => 'orders', 'action' => 'index'),array('escape'=>false,'title'=>__('List Orders', true))); ?><div class="clr"></div>	<?php echo __('List Orders', true)?> </li>
					<li><?php echo $this->Html->link($html->image(HOST.'/actions_orders_add.png'), array('controller' => 'orders', 'action' => 'add'),array('escape'=>false,'title'=>__('New Order', true))); ?><div class="clr"></div>	 <?php echo __('New Order', true)?> </li>
				</ul>
			</div>
			<div class="clr"></div>
		</div>		
	</div>